package ooexercise01;


public class Fish extends Animal {
    /*
    Fish(String name, int age, String colour) {
        super(name, age, colour);
    }

    void eat() {
        System.out.println(age + "岁的" + colour + "小鱼" + name + "在吃虾米……");
    }

     */

    Fish(String name, int age, String colour) {
        super(name, age, colour);
    }

    void eat() {
        System.out.println(age + "岁的" + colour + "小鱼" + name + "在吃虾米……");
    }

}
